<template>
  <div class="mainContent">
    <el-row style="display: flex; align-items:center;">
      <el-col :span='12'><img :src='src' style="height:70%;width:70%"></img></el-col>
      <el-col :span='6' :offset="4"><el-link @click="HandleReturn">返回首页></el-link></el-col>
    </el-row>       
  </div>
</template>

<script>
export default {
  name: 'UserHeader',
  data () {
    return {
      src: require('../../../src/assets/sylogo.jpg'),
    }
  },
  created() {
  
  },
  methods: {
    HandleReturn() {
      this.$router.push({path:'/HomePage'});
    },
  },
}
</script>

<style scoped>
.mainContent{
  padding: 10px;
}
</style>

